var userName = '';

function setUserName() {
	userName = document.getElementById("user").value;
}